package com.liuwei.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 
 * @Title: HelloController.java
 * @Package com.liuwei.web
 * @Description:
 * @author 刘伟 15818570028@163.com
 * @date 2016年11月24日 上午10:21:37
 * @version V1.0
 */
@Controller
public class HelloController {

	@RequestMapping("/")
	public String index() {
		return "index";
	}

	@RequestMapping("/hello")
	public String hello() {
		return "hello";
	}

	@RequestMapping(value = "/login", method = RequestMethod.GET)
	public String login() {
		return "login";
	}

}